//
//  YKTopic.h
//  baisi
//
//  Created by 吴高烽 on 16/10/5.
//  Copyright © 2016年 吴高烽. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <MJExtension.h>
@class YKComment;
@interface YKTopic : NSObject
@property (nonatomic,copy)NSString *created_at ;
@property (nonatomic,copy)NSString *text ;
@property (nonatomic,copy)NSString *name ;
@property (nonatomic,copy)NSString *profile_image ;
@property (nonatomic,assign)NSInteger repost ;
@property (nonatomic,assign)NSInteger hate ;
@property (nonatomic,assign)NSInteger ding ;
@property (nonatomic,assign)NSInteger comment ;
@property (nonatomic,assign)NSInteger playcount;
@property (nonatomic,assign)NSInteger voicetime;
@property (nonatomic,copy)NSString *id;

/** 视频时长 */
@property (nonatomic, assign) NSInteger videotime;
@property (nonatomic ,strong) NSArray<YKComment*> *top_cmt;
/** cell的高度 */
@property (nonatomic,assign,readonly)CGFloat cellHeight;
@property (nonatomic,assign)CGFloat height;
@property (nonatomic,assign)CGFloat width;

@property (nonatomic,copy)NSString *small_image ;
@property (nonatomic,copy)NSString *middle_image ;
@property (nonatomic,copy)NSString *large_image ;

@property (nonatomic,assign)YKTopicType type;
@property (nonatomic,assign)BOOL is_gif;
/** 辅助属性 */
@property (nonatomic,assign,readonly)CGRect pictureVF;
@property (nonatomic,assign,readonly)CGRect voiceVF;
@property (nonatomic,assign,readonly)CGRect videoVF;

@property (nonatomic,assign)CGFloat pictureProgress;
@property (nonatomic,assign,getter=isBigPicture)BOOL bigPicture;

@end
